package com.central.common.entity

import com.baomidou.mybatisplus.annotation.TableName
import com.central.common.model.SuperEntity
import java.io.Serializable
import java.math.BigDecimal

/**
 * 帖子实体
 * @author  fly
 * @date  2021/5/26 14:16
 * @version 1.0
 */
@TableName("fly_draw_category")
open class DrawCategory(

    /**
     * 分类名称
     */
    var title: String? = null,

    /**
     * 父id
     */
    var parentId: Long? = null,

    /**
     * 是否为父节点(含子节点) 默认false
     */
    var isParent: Boolean? = false,

    /**
     * 排序值
     */
    var sortOrder: BigDecimal? = null,

    /**
     * 状态
     */
    var status: Int? = 0

    ): SuperEntity<DrawCategory>(), Serializable {

    companion object {
        const val serialVersionUID = 749360940290141180L
    }
}